package day9.generic;

/**
 * @author joker
 * @date 2022/4/19 0019 - 23:56
 */
public class Person extends OldPerson{
    private int age;
    private String name;

    public Person(int age, String name) {
        this.age = age;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Person{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }
}
